package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.StoreChainVO;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface BusinessRepository {

    void save(BusinessPO po);

    PageInfo<BusinessPO> pagesList(BusinessQuery query);

    List<StoreChainVO> getAll();

    int updateStatus(Integer id);
}
